// types/user.ts
export interface User {
  id: number
  name: string
  avatar: string
  email: string
  role: string
  isAdmin: boolean
  lastLogin?: string
  status: 'active' | 'inactive' | 'suspended'
}

export interface Organization {
  id: number
  name: string
  code: string
  status: 'active' | 'inactive' | 'suspended'
  createdAt: string
  updatedAt: string
}

export interface Role {
  id: number
  name: string
  description: string
  permissions: string[]
  createdAt: string
  updatedAt: string
}